package com.smiier.skin.net;

import java.util.ArrayList;

import android.content.Context;
import cn.o.app.net.NetTask;

import com.smiier.skin.constant.Constant;
import com.smiier.skin.net.MRQuestionGetTask.MRQuestionGetRequest;
import com.smiier.skin.net.MRQuestionGetTask.MRQuestionGetResponse;
import com.smiier.skin.net.entity.QuestionAnswer;
import com.smiier.skin.util.GlobalSettings;

/**
 * 病案详情
 * 
 * @author 杨文华
 * 
 */
public class MRQuestionGetTask extends
		NetTask<MRQuestionGetRequest, MRQuestionGetResponse> {

	public static class MRQuestionGetRequest extends ORequest {
		public ArrayList<Long> qids;
		public String appname = Constant.APP_NAME;
	}

	public static class MRQuestionGetResponse extends OResponse {
		public ArrayList<QuestionAnswer> Res;
	}

	@Override
	public void setContext(Context context) {
		super.setContext(context);
		mUrl = GlobalSettings.SERVER_URL + GlobalSettings.SERVER_URL_JOIN
				+ "?api=MR.Question.Get";
		mRequestMethod = METHOD_GET;
	}
}
